<?php

namespace app\api\controller;

use app\common\controller\Api;
use app\common\model\Deeply as DeeplyModel;


/**
 * 文章接口
 */
class Deeply extends Api
{
    protected $noNeedLogin = '*';
    protected $noNeedRight = '*';



    public function details()
    {
        $id = $this->request->get('id');
        if(empty($id)){
            $this->error('请填写ID');
        }
        $list=DeeplyModel::details($id);

        $this->success('',$list);
    }

}
